package com.qijian.tool.domain.query;


import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.util.Set;


/**
 * App版本更新对象 查询条件类
 *
 * @author qijian
 * @date 2022-02-08
 */

@Data
@ToString
@TableName("tool_app")
public class AppQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "version_number")
    private String versionNumber;
    @WhereType(filed = "version_tips")
    private String versionTips;
    @WhereType(filed = "type")
    private String type;
    @WhereType(filed = "update_type")
    private Boolean updateType;
    @WhereType(filed = "is_force")
    private Boolean isForce;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
}
